<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="https://unpkg.com/vue@3.5.21/dist/vue.global.js"></script>

    <style>

        div{
            margin: 10px ;
            border: solid 0.2px grey;
            border-radius: 4px;
        }

        .bg{
            background-color: skyblue;
        }
        
        .one {
            color: red;
        }
        .two {
            color: blue;
        }   


    </style>
</head>
<body>
    <div id="app">
       
        <div v-bind:class="className1">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>
        <div :class="className2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>
        <div :class="{one:oneActive,bg:bgActive}">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>
        <div :class="score>85?className1:className2    ">85  Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>


    </div>

    <script>
       Vue.createApp({
            data(){
                return {
                     className1: 'one',
                     className2: 'two',
                     oneActive:true,
                     bgActive:true,

                     score:65


                }
            }
       }).mount("#app")
    </script>
</body>
</html>